package com.aiyan.edu.service.auth.center.client.fallback;

import com.aiyan.edu.framework.domain.ucenter.ext.UserExt;
import com.aiyan.edu.framework.model.response.CommonCode;
import com.aiyan.edu.framework.model.response.CommonResponseResult;
import com.aiyan.edu.service.auth.center.client.UserClient;
import org.springframework.stereotype.Component;

/**
 * @author: zqzhou
 * @create: 2019/11/25 22:12
 **/
@Component
public class UserClientFallback implements UserClient {
    @Override
    public CommonResponseResult<UserExt> getUserExt(String username) {
        return new CommonResponseResult<>(CommonCode.FALLBACK, null);
    }
}
